package com.sjk.eurekacar.service.impl;

import com.sjk.eurekacar.entity.TCar;
import com.sjk.eurekacar.entity.TPerson;
import com.sjk.eurekacar.mapper.TCarMapper;
import com.sjk.eurekacar.service.ITCarService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author sjk
 * @since 2021-11-05
 */
@Service
public class TCarServiceImpl extends ServiceImpl<TCarMapper, TCar> implements ITCarService {
    @Autowired
    TCarMapper tCarMapper;
    @Override
    public TPerson getname(String uname) {
        return tCarMapper.getname(uname);
    }

    @Override
    public void saveperson(TPerson tPerson) {
        tCarMapper.saveperson(tPerson);
    }
}
